﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreLibrary.People
{
    public class Bond
    {
        private List<Person> people = new List<Person>();
        public Bond(Person firstPerson, Person secondPerson)
        {
            people.Add(firstPerson);
            people.Add(secondPerson);
        }

        public IEnumerable<Person> People
        {
            get
            {
                return people;
            }
        }

        private int strength;
        public int BondStrength
        {
            get
            {
                return strength;
            }
            set
            {
                strength = value;
                if (strength > 100)
                {
                    strength = 100;
                }
                if (strength < -100)
                {
                    strength = -100;
                }
            }
        }
    }
}
